<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no" />
    <meta name="renderer" content="webkit">
    <meta name="keywords" content="{$archives.keywords}"/>
    <meta name="description" content="{$archives.description}"/>
    <title>{$archives.title} - {$site.site_name}</title>
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/addons/wwh/css/swiper.min.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/addons/wwh/css/animate.min.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/addons/wwh/css/style.css">
    <link rel="stylesheet" type="text/css" href="__CDN__/assets/addons/wwh/css/media.css">
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/jquery.min.js"></script>
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/swiper.min.js"></script>
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/swiper.animate1.0.3.min.js"></script>
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/wow.js"></script>
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/menu.js"></script>
    <script type="text/javascript" src="__CDN__/assets/addons/wwh/js/javascript.js"></script>
    <link rel="shortcut icon" href="__CDN__/assets/addons/wwh/images/favicon.ico">
</head>
<body>
<!-- 头部 -->
{include file="header" /}
<!-- 栏目Banner -->
<div class="col-banner">
    <div class="text">
        <div class="title wow fadeInUp" data-wow-delay="0.3s">
            <h3>{$site.ban1_t1}</h3><i></i>
        </div>
    </div>
    <div class="img">
        <div class="pic" style="background-image: url('{$site.banner1|cdnurl}');">
            <img src="__CDN__/assets/addons/wwh/images/col_size.png" class="img-block" alt="">
        </div>
    </div>
    <div class="banner-path wow fadeInLeft" data-wow-delay="0.4s">
        <div class="container-outer">
            <div class="icon"><img src="__CDN__/assets/addons/wwh/images/home.svg" class="img-center"></div>
            <div class="link">
                <a href="{:addon_url('wwh/index/index')}">{:__lang('Home')}</a>
                <span>/</span>
                <a href="{:addon_url('wwh/column/index', [':diyname'=>$top.diyname])}">{$top.name}</a>
                <span>/</span>
                <a href="{:addon_url('wwh/column/index', [':diyname'=>$navCur.diyname])}">{$navCur.name}</a>
                <span class="dis">/</span>
                <a href="{:addon_url('wwh/archives/index', [':diyname'=>$navId[$archives.column_id]['diyname'], ':id'=>$archives.id])}" class="cur dis">{$archives.title}</a>
            </div>
        </div>
    </div>
</div>
<!-- 内容 -->
<div class="product-detail">
    <div class="container-outer">
        <div class="product-top">
            <div class="product-pic swiper-container wow fadeInLeft" data-wow-delay="0.5s">
                <div class="swiper-wrapper">
                    {foreach name="archives['lunbo']" item="v"}
                    <div class="swiper-slide" style="background-image:url('{$v|cdnurl}');">
                        <a href="{$v|cdnurl}"><ul><li><img src="{$v|cdnurl}" alt=""></li></ul></a>
                    </div>
                    {/foreach}
                </div>
                <div class="swiper-pagination"></div>
                <div class="swiper-button-next"></div>
                <div class="swiper-button-prev"></div>
            </div>
            <div class="product-info wow fadeInRight" data-wow-delay="0.5s">
                <h3>{$archives.title}</h3>
                <h4>{$archives.p_pn}</h4>
                <div class="product-text">{$archives.description}</div>
                <div class="ty-more"><a href="javascript:;" class="click-message"><span>{:__lang('Product Consultation')}</span><i></i></a></div>
            </div>
        </div>
        <div class="product-bottom wow fadeInUp" data-wow-delay="0.6s">
            <div class="product-bottom-box">
                <div class="product-bottom-nav">
                    <li class="cur">{:__lang('Function')}
                    <li>{:__lang('Parameters')}
                    <li>{:__lang('Size')}
                </div>
                <div class="product-bottom-tab swiper-container swiper-no-swiping">
                    <div class="swiper-wrapper">
                        <div class="swiper-slide">
                            <div class="zc-detail-text">
                                <div class="text">{$archives.p_func_content}</div>
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="zc-detail-text">
                                <div class="text">{$archives.p_tech_content}</div>
                            </div>
                        </div>
                        <div class="swiper-slide">
                            <div class="product-size-img">
                                <img src="{$archives.p_shape_image|cdnurl}">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<!-- 底部 -->
{include file="footer" /}
<script type='text/javascript' src="__CDN__/assets/addons/wwh/js/touchTouch.jquery.js"></script>
<script type="text/javascript">
    $(".product-pic").each(function(){
        $(this).find("a").touchTouch();
    });

    var swiper1 = new Swiper('.product-pic', {
        spaceBetween: 0,
        autoHeight: true,
        // loop : true,
        // autoplay: {
        // 	delay: 5000,
        // 	disableOnInteraction: false,
        // },
        pagination: {
            el: '.swiper-pagination',
            clickable: true,
        },
        navigation: {
            nextEl: '.swiper-button-next',
            prevEl: '.swiper-button-prev',
        },
    });

    var mySwiper = new Swiper('.product-bottom-tab', {
        autoHeight: true,
        slidesPerView: 1,
    });
    $('.product-bottom-nav li').on('click', function(e) {
        e.preventDefault();
        $(".product-bottom-nav li").removeClass('cur');
        $(this).addClass('cur');
        var index = $(this).index();
        mySwiper.slideTo(index,0,false);
        mySwiper.updateAutoHeight();
    });
</script>
</body>
</html>
